home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ole2.hpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  5.6 KB  |  299 lines

  1. // Borland C++ Builder
  2. // Copyright (c) 1995, 1998 by Borland International
  3. // All rights reserved
  4.  
  5. // (DO NOT EDIT: machine generated header) 'OLE2.pas' rev: 3.00
  6.  
  7. #ifndef OLE2HPP
  8. #define OLE2HPP
  9. #include <Windows.hpp>
  10. #include <SysInit.hpp>
  11. #include <System.hpp>
  12.  
  13. //-- user supplied -----------------------------------------------------------
  14. #include <ole2.h>
  15.  
  16. namespace Ole2
  17. {
  18. //-- type declarations -------------------------------------------------------
  19. typedef int HResult;
  20.  
  21. typedef int TResultList[65536];
  22.  
  23. typedef TResultList *PResultList;
  24.  
  25. typedef wchar_t TOleChar;
  26.  
  27. typedef wchar_t *POleStr;
  28.  
  29. typedef wchar_t *TOleStrList[65536];
  30.  
  31. typedef TOleStrList *POleStrList;
  32.  
  33. typedef System::Comp Largeint;
  34.  
  35. struct TGUID;
  36. typedef GUID *PGUID;
  37.  
  38. struct TGUID
  39. {
  40.     int D1;
  41.     Word D2;
  42.     Word D3;
  43.     Byte D4[8];
  44. } ;
  45.  
  46. typedef GUID *PIID;
  47.  
  48. typedef GUID  TIID;
  49.  
  50. typedef GUID *PCLSID;
  51.  
  52. typedef GUID  TCLSID;
  53.  
  54. typedef _OBJECTID *PObjectID;
  55.  
  56. typedef _OBJECTID  TObjectID;
  57.  
  58. typedef int TLCID;
  59.  
  60. typedef tagBIND_OPTS *PBindOpts;
  61.  
  62. typedef tagBIND_OPTS  TBindOpts;
  63.  
  64. typedef tagSTATSTG *PStatStg;
  65.  
  66. typedef tagSTATSTG  TStatStg;
  67.  
  68. typedef wchar_t * *TSNB;
  69.  
  70. typedef tagDVTARGETDEVICE *PDVTargetDevice;
  71.  
  72. #pragma pack(push, 1)
  73. struct OLE2__42
  74. {
  75.     
  76. } ;
  77. #pragma pack(pop)
  78.  
  79. typedef tagDVTARGETDEVICE  TDVTargetDevice;
  80.  
  81. typedef Word *PClipFormat;
  82.  
  83. typedef Word TClipFormat;
  84.  
  85. typedef tagFORMATETC *PFormatEtc;
  86.  
  87. typedef tagFORMATETC  TFormatEtc;
  88.  
  89. typedef tagSTATDATA *PStatData;
  90.  
  91. typedef tagSTATDATA  TStatData;
  92.  
  93. typedef tagRemSTGMEDIUM *PRemStgMedium;
  94.  
  95. #pragma pack(push, 1)
  96. struct OLE2__82
  97. {
  98.     
  99. } ;
  100. #pragma pack(pop)
  101.  
  102. typedef tagRemSTGMEDIUM  TRemStgMedium;
  103.  
  104. typedef tagSTGMEDIUM *PStgMedium;
  105.  
  106. typedef tagSTGMEDIUM  TStgMedium;
  107.  
  108. typedef tagINTERFACEINFO *PInterfaceInfo;
  109.  
  110. typedef tagINTERFACEINFO  TInterfaceInfo;
  111.  
  112. typedef int TRpcOleDataRep;
  113.  
  114. typedef tagRPCOLEMESSAGE *PRpcOleMessage;
  115.  
  116. typedef tagRPCOLEMESSAGE  TRpcOleMessage;
  117.  
  118. typedef wchar_t * *PBStr;
  119.  
  120. typedef wchar_t *TBStr;
  121.  
  122. typedef wchar_t *TBStrList[65536];
  123.  
  124. typedef TBStrList *PBStrList;
  125.  
  126. typedef tagBLOB *PBlob;
  127.  
  128. typedef tagCLIPDATA *PClipData;
  129.  
  130. typedef tagCLIPDATA  TClipData;
  131.  
  132. typedef tagSAFEARRAYBOUND *PSafeArrayBound;
  133.  
  134. typedef tagSAFEARRAYBOUND  TSafeArrayBound;
  135.  
  136. typedef tagSAFEARRAY *PSafeArray;
  137.  
  138. typedef tagSAFEARRAY  TSafeArray;
  139.  
  140. typedef double TOleDate;
  141.  
  142. typedef System::Comp TCurrency;
  143.  
  144. typedef Word TOleBool;
  145.  
  146. typedef Word TVarType;
  147.  
  148. typedef tagVARIANT *PVariantArg;
  149.  
  150. typedef tagVARIANT  TVariantArg;
  151.  
  152. typedef tagVARIANT TVariantArgList[65536];
  153.  
  154. typedef TVariantArgList *PVariantArgList;
  155.  
  156. typedef int TDispID;
  157.  
  158. typedef int TDispIDList[65536];
  159.  
  160. typedef TDispIDList *PDispIDList;
  161.  
  162. typedef int TMemberID;
  163.  
  164. typedef int TMemberIDList[65536];
  165.  
  166. typedef TMemberIDList *PMemberIDList;
  167.  
  168. typedef int TPropID;
  169.  
  170. typedef int HRefType;
  171.  
  172. typedef int TTypeKind;
  173.  
  174. typedef tagARRAYDESC *PArrayDesc;
  175.  
  176. typedef tagTYPEDESC *PTypeDesc;
  177.  
  178. typedef tagTYPEDESC  TTypeDesc;
  179.  
  180. typedef tagARRAYDESC  TArrayDesc;
  181.  
  182. typedef tagIDLDESC *PIDLDesc;
  183.  
  184. typedef tagIDLDESC  TIDLDesc;
  185.  
  186. typedef tagELEMDESC *PElemDesc;
  187.  
  188. typedef tagELEMDESC  TElemDesc;
  189.  
  190. typedef tagELEMDESC TElemDescList[65536];
  191.  
  192. typedef TElemDescList *PElemDescList;
  193.  
  194. typedef tagTYPEATTR *PTypeAttr;
  195.  
  196. typedef tagTYPEATTR  TTypeAttr;
  197.  
  198. typedef tagDISPPARAMS *PDispParams;
  199.  
  200. typedef tagDISPPARAMS  TDispParams;
  201.  
  202. typedef tagEXCEPINFO *PExcepInfo;
  203.  
  204. typedef int __stdcall (*TFNDeferredFillIn)(PExcepInfo ExInfo);
  205.  
  206. typedef tagEXCEPINFO  TExcepInfo;
  207.  
  208. typedef int TFuncKind;
  209.  
  210. typedef int TInvokeKind;
  211.  
  212. typedef int TCallConv;
  213.  
  214. typedef tagFUNCDESC *PFuncDesc;
  215.  
  216. typedef tagFUNCDESC  TFuncDesc;
  217.  
  218. typedef int TVarKind;
  219.  
  220. typedef tagVARDESC *PVarDesc;
  221.  
  222. typedef tagVARDESC  TVarDesc;
  223.  
  224. typedef int TDescKind;
  225.  
  226. typedef tagBINDPTR *PBindPtr;
  227.  
  228. typedef tagBINDPTR  TBindPtr;
  229.  
  230. typedef int TSysKind;
  231.  
  232. typedef tagTLIBATTR *PTLibAttr;
  233.  
  234. typedef tagTLIBATTR  TTLibAttr;
  235.  
  236. typedef ITypeInfo* TTypeInfoList[65536];
  237.  
  238. typedef TTypeInfoList *PTypeInfoList;
  239.  
  240. typedef tagPARAMDATA *PParamData;
  241.  
  242. typedef tagPARAMDATA  TParamData;
  243.  
  244. typedef tagPARAMDATA TParamDataList[65536];
  245.  
  246. typedef TParamDataList *PParamDataList;
  247.  
  248. typedef tagMETHODDATA *PMethodData;
  249.  
  250. typedef tagMETHODDATA  TMethodData;
  251.  
  252. typedef tagMETHODDATA TMethodDataList[65536];
  253.  
  254. typedef TMethodDataList *PMethodDataList;
  255.  
  256. typedef tagINTERFACEDATA *PInterfaceData;
  257.  
  258. typedef tagINTERFACEDATA  TInterfaceData;
  259.  
  260. typedef tagOBJECTDESCRIPTOR *PObjectDescriptor;
  261.  
  262. typedef tagOBJECTDESCRIPTOR  TObjectDescriptor;
  263.  
  264. typedef tagOBJECTDESCRIPTOR *PLinkSrcDescriptor;
  265.  
  266. typedef tagOBJECTDESCRIPTOR  TLinkSrcDescriptor;
  267.  
  268. typedef tagOIFI *POleInPlaceFrameInfo;
  269.  
  270. typedef tagOIFI  TOleInPlaceFrameInfo;
  271.  
  272. typedef tagOleMenuGroupWidths *POleMenuGroupWidths;
  273.  
  274. typedef tagOleMenuGroupWidths  TOleMenuGroupWidths;
  275.  
  276. typedef BOOL __stdcall (*TContinueFunc)(int dwContinue);
  277.  
  278. typedef tagOLEVERB *POleVerb;
  279.  
  280. typedef tagOLEVERB  TOleVerb;
  281.  
  282. typedef int __stdcall (*TDLLGetClassObject)(const GUID &clsid, const GUID &iid, void *pv);
  283.  
  284. typedef int __stdcall (*TDLLCanUnloadNow)(void);
  285.  
  286. //-- var, const, procedure ---------------------------------------------------
  287. extern PACKAGE bool __fastcall Succeeded(int Res);
  288. extern PACKAGE bool __fastcall Failed(int Res);
  289. extern PACKAGE int __fastcall ResultCode(int Res);
  290. extern PACKAGE int __fastcall ResultFacility(int Res);
  291. extern PACKAGE int __fastcall ResultSeverity(int Res);
  292.  
  293. }    /* namespace Ole2 */
  294. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  295. using namespace Ole2;
  296. #endif
  297. //-- end unit ----------------------------------------------------------------
  298. #endif    // OLE2
  299.